package cn.wp.common.core.exception;

import lombok.Data;

@Data
public class WpBizException extends RuntimeException{
    private String remark;

    private WpBizException(String remark) {
        this.remark = remark;
    }

    public static void NEW(String remark){
        throw new WpBizException(remark);
    }
}
